Skip to content

Docs: allow project role-switch scripts - #44

Merged
lightforgelabsdev merged 1 commit into
masterfrom
docs/role-switch-scripts-hook
Feb 5, 2026
Merged

lightforgelabsdev merged 1 commit into
masterfrom
docs/role-switch-scripts-hook

Conversation

@lightforgelabsdev

Copy link
Copy Markdown
Member

Adds an optional project hook to run role-switch helper scripts as the first preflight step:

  • tools/gh/as-reviewer.ps1 for /pr-review
  • tools/gh/as-implementer.ps1 for /implement

Falls back to gh auth switch -u <login> when scripts are not present.

@lightforgelabsdev-review lightforgelabsdev-review left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review Summary\n\nDecision: 💬 Non-blocking\n\nGood ergonomic hook: prefers project helper scripts when present, otherwise falls back to gh auth switch. Will approve once CI is green.

@lightforgelabsdev-review lightforgelabsdev-review left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Review Summary

Decision: ✅ Approve

Docs-only change. Makes role switching simpler by preferring project helper scripts when available, while keeping a safe fallback.

@lightforgelabsdev
lightforgelabsdev merged commit 1b14b50 into master Feb 5, 2026
2 checks passed
@lightforgelabsdev
lightforgelabsdev deleted the docs/role-switch-scripts-hook branch February 5, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants